/**
 * Created by nvduc on 12.08.2014.
 */
/*
 app.controller('MainCtrl',['$rootScope',function($rootScope) {

 }]);*/
appSkeleton.controller('SkeletonMainCtrl',
    function ($rootScope, $window, AppCached, cssInjector, EXPENSE_SOURCE, $location) {
        $location.path("/");

        $rootScope.slide = '';
        // cssInjector.add( 'components/themes/default/expense-theme.css');
        cssInjector.add('components/themes/default/default-theme.css');
        $rootScope.themeNameSelected = 'Default';
        var device = 'desktop';

        $rootScope.device = device;
        $rootScope.standalone = $window.navigator.standalone;
        // $rootScope.isWebkit = UtilServices.isWebkit();
        // UtilServices.disableZoomFocusInput();
        $rootScope.$on("logout-button-clicked", function (e) {
            AppCached.removeAll();
        });






    });